package demo06.StaticMethodReference;

public class Demo01StaticmehodReference {
    public static void calculate(Calcable c,int num){
        System.out.println(c.calAbs(num));
    }

    public static void main(String[] args) {
        calculate(num->Math.abs(num),-30);
    }
}
